package app.server.project.main.service.db.dao;

import app.server.project.main.service.db.entity.UserInfoEntity;
import app.server.project.main.service.db.mapper.UserInfoMapper;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Repository;

/**
 * @author Administrator
 * @description 针对表【user_info(用户信息表)】的数据库操作Service实现
 * @createDate 2025-01-16 15:25:22
 */
@Repository
public class UserInfoDao extends ServiceImpl<UserInfoMapper, UserInfoEntity> {

    @Cacheable
    public UserInfoEntity getss(long id){
        return this.getById(id);
    }
}




